import Vue from 'vue'
import App from './App'
import router from './router'

/*element组件*/
import ele from '@/ele/index.js'

/*iview组件*/
import iview from '@/iview/index.js'

/*全局样式*/
import '../static/css/index.styl'

/*引入cookie*/
import cookie from '@/cookie/index.js'
Vue.prototype.$cookie = cookie;

/*axios*/
import axios from '@/axios/index.js'

/*引入vuex*/
import store from './store/index.js';

/*引入localstorage*/
import localstorage from './localstorage/index.js';
Vue.prototype.$localstorage = localstorage;

/*引入sessionStorage*/
import sessionStorage from './sessionStorage/index.js';
Vue.prototype.$sessionStorage = sessionStorage;

Vue.config.productionTip = false

window.vm = new Vue({
	el: '#app',
	router,
	store,
	render: h => h(App)
})
